package cn.edu.scau.cmi.liangzijian.client;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.layout.AnchorPane;
import javafx.stage.Stage;

public class FactoryClient extends Application {
	
	@Override
	public void start(Stage primaryStage) throws Exception {		
		FXMLLoader loader = new FXMLLoader(
				getClass().getResource("/cn/edu/scau/cmi/liangzijian/factory/FactoryUI.fxml"));
		AnchorPane root = loader.load();
				
		primaryStage.setTitle("lab3");
		primaryStage.setScene(new Scene(root));
		primaryStage.show();
	}
	
	public static void main(String[] args) {
		launch(args);
	}
}
